package org.csu.bbs.persistence;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;
import org.csu.bbs.entity.UserInfo;

@Mapper
public interface UserInfoMapper extends BaseMapper<UserInfo> {
    @Update("update usrinfo set headerSculpture = #{url} where userid = #{id}")
    void changeAvatar(@Param("url") String url, @Param("id") String id);
}
